export const findSelectOption = (data, id) => {
    for (let o of data || []) {
        if (o.id == id) return o
        const o_ = findSelectOption(o.children, id)
        if (o_) return o_
    }
}